//==============================================================================
// Copyright 2009 Sidney Shek All Rights Reserved
//==============================================================================
// SYSTEM:        ITEC824-MajorProject-Server
// FILE NAME:	  Task.java
// DESCRIPTION:   
// AUTHOR:        sshek2
// CREATED:       17/04/2009
//
// REVISION HISTORY:
// $Author: $
// $Id:  $
//
//==============================================================================
//

package itec824.integration.model;

/**
 * Contains information about a task. This is the granularity that a timesheet
 * entry is at.
 *
 * @version $Revision: $
 * @author sshek2
 */
public class Task
{
//    /**
//     * @return Returns the assignedUsers.
//     */
//    public Collection<User> getAssignedUsers()
//    {
//        return myAssignedUsers;
//    }
//    /**
//     * @param aAssignedUsers The assignedUsers to set.
//     */
//    public void setAssignedUsers(Collection<User> aAssignedUsers)
//    {
//        myAssignedUsers = aAssignedUsers;
//    }
    /**
     * @return Returns the taskId.
     */
    public long getTaskId()
    {
        return myTaskId;
    }
    /**
     * @param aTaskId The taskId to set.
     */
    public void setTaskId(long aTaskId)
    {
        myTaskId = aTaskId;
    }
    /**
     * @return Returns the taskName.
     */
    public String getTaskName()
    {
        return myTaskName;
    }
    /**
     * @param aTaskName The taskName to set.
     */
    public void setTaskName(String aTaskName)
    {
        myTaskName = aTaskName;
    }
    /**
     * @return Returns the taskDescription.
     */
    public String getTaskDescription()
    {
        return myTaskDescription;
    }
    /**
     * @param aTaskDescription The taskDescription to set.
     */
    public void setTaskDescription(String aTaskDescription)
    {
        myTaskDescription = aTaskDescription;
    }
//    /**
//     * @return Returns the project.
//     */
//    public Project getProject()
//    {
//        return myProject;
//    }
//    /**
//     * @param aProject The project to set.
//     */
//    public void setProject(Project aProject)
//    {
//        myProject = aProject;
//    }
    private long myTaskId;
    private String myTaskName;
    private String myTaskDescription;
    
//    /** References the containing project */
//    private Project myProject;
    
//    /** References the users who are assigned to this task (i.e. can create a
//     * timesheet entry for this task) */
//    private Collection<User> myAssignedUsers;
}
